﻿using System;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Moon.Common.WebInfo;
using System.Text;
using VTemplate.Engine;


public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
       try
            {
                TemplateDocument document = new TemplateDocument(Server.MapPath("~/") + "system/Default.htm", Encoding.UTF8);
                document.Render(Response.Output);
            }
            catch (Exception ex){
                Response.Output.Write("Not Found 404!");
                log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
                log.Debug(ex.Message);
            }
        
    }
}
